<?php
$q= mysql_escape_string($_GET["search_user"]);
if (strlen($q) > 0)
{
    include "../include/Config.php";
    $Username = mysql_query("SELECT username FROM `accounts` WHERE `username` like '%".$q."%' ORDER BY `username`;") or die(mysql_error());
    while($data = mysql_fetch_array( $Username ))
        $response .= ", <a>".$data['name']."</a>\n";
    $response = substr($response, 0, strlen($response));
}
else
    $response="<b>aya</b>";
echo $response;
?>